package com.wwg.cms.service;

import java.util.Collection;
import com.wwg.cms.bo.*;
/**
 * 栏目表维护 
 * @author wwl
 */
public interface ChannelService extends java.io.Serializable{
    /**
	 *获取所有栏目表维护 
	 */
	public Collection getChannelList();
	
	/**
	 * 添加栏目表维护 
	 * @param channel 栏目表维护 
	 * @return
	 */
	public Channel addChannel(Channel channel);
	
	/**
	 * 修改栏目表维护 
	 * @param channel 栏目表维护 
	 * @return
	 */
	public  Channel updateChannel(Channel channel);
	
	/**
	 * 删除栏目表维护 
	 * @param channel 栏目表维护 
	 * @return
	 */
	public Channel deleteChannel(Channel channel);
    
    /**
     *  获取栏目表维护  by id
     *  @param id 编号
     * @return
	 */
    public Channel getChannelById(Long id);
    
}
